package com.company.gjtx.login.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * TbUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbUser implements java.io.Serializable {

	// Fields

	private Long userid;
	private String username;
	private String logname;
	private String pass;
	private String grade;
	private Long roleid;
	private Long score;
	private Long expervalue;
	private String headimage;
	private Integer level;
	private String note;
	private Set tbRecGoodses = new HashSet(0);
	private Set tbNewses = new HashSet(0);
	private Set tbRecComments = new HashSet(0);
	private Set tbRecCollectors = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbUser() {
	}

	/** minimal constructor */
	public TbUser(Long userid) {
		this.userid = userid;
	}

	/** full constructor */
	public TbUser(Long userid, String username, String logname, String pass,
			String grade, Long roleid, Long score, Long expervalue,
			String headimage, Integer level, String note, Set tbRecGoodses,
			Set tbNewses, Set tbRecComments, Set tbRecCollectors) {
		this.userid = userid;
		this.username = username;
		this.logname = logname;
		this.pass = pass;
		this.grade = grade;
		this.roleid = roleid;
		this.score = score;
		this.expervalue = expervalue;
		this.headimage = headimage;
		this.level = level;
		this.note = note;
		this.tbRecGoodses = tbRecGoodses;
		this.tbNewses = tbNewses;
		this.tbRecComments = tbRecComments;
		this.tbRecCollectors = tbRecCollectors;
	}

	// Property accessors

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getLogname() {
		return this.logname;
	}

	public void setLogname(String logname) {
		this.logname = logname;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Long getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	public Long getScore() {
		return this.score;
	}

	public void setScore(Long score) {
		this.score = score;
	}

	public Long getExpervalue() {
		return this.expervalue;
	}

	public void setExpervalue(Long expervalue) {
		this.expervalue = expervalue;
	}

	public String getHeadimage() {
		return this.headimage;
	}

	public void setHeadimage(String headimage) {
		this.headimage = headimage;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Set getTbRecGoodses() {
		return this.tbRecGoodses;
	}

	public void setTbRecGoodses(Set tbRecGoodses) {
		this.tbRecGoodses = tbRecGoodses;
	}

	public Set getTbNewses() {
		return this.tbNewses;
	}

	public void setTbNewses(Set tbNewses) {
		this.tbNewses = tbNewses;
	}

	public Set getTbRecComments() {
		return this.tbRecComments;
	}

	public void setTbRecComments(Set tbRecComments) {
		this.tbRecComments = tbRecComments;
	}

	public Set getTbRecCollectors() {
		return this.tbRecCollectors;
	}

	public void setTbRecCollectors(Set tbRecCollectors) {
		this.tbRecCollectors = tbRecCollectors;
	}

}